package com.ericsson.enap.modules.replay.service.impl;

import com.ericsson.enap.modules.replay.entity.EpcReplayRfnumberTree;
import com.ericsson.enap.modules.replay.mapper.EpcReplayRfnumberTreeMapper;
import com.ericsson.enap.modules.replay.service.IEpcReplayRfnumberTreeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 应答帧树结构Service业务层处理
 *
 * @author wangjingshi
 * @date 2020-09-13
 */
@Service
public class EpcReplayRfnumberTreeServiceImpl implements IEpcReplayRfnumberTreeService
{
    @Resource
    private EpcReplayRfnumberTreeMapper epcReplayRfnumberTreeMapper;

    /**
     * 查询应答帧树结构
     *
     * @param id 应答帧树结构ID
     * @return 应答帧树结构
     */
    @Override
    public EpcReplayRfnumberTree selectEpcReplayRfnumberTreeById(Long id)
    {
        return epcReplayRfnumberTreeMapper.selectEpcReplayRfnumberTreeById(id);
    }

    /**
     * 查询应答帧树结构列表
     *
     * @param epcReplayRfnumberTree 应答帧树结构
     * @return 应答帧树结构
     */
    @Override
    public List<EpcReplayRfnumberTree> selectEpcReplayRfnumberTreeList(EpcReplayRfnumberTree epcReplayRfnumberTree)
    {
        return epcReplayRfnumberTreeMapper.selectEpcReplayRfnumberTreeList(epcReplayRfnumberTree);
    }


}
